public class Test {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);

        Integer c = 200;
        Integer d = 200;
        System.out.println(c==d);
    }
    public static void main1(String[] args) {
        //包装类
        //1. 装包
        int a = 10;
        Integer val = a;//自动
        Integer val1 = Integer.valueOf(a);//显示装箱
        Integer val2 = new Integer(a);  //显示装箱

        //2. 拆包
        Integer val3 = 10;
        int b = val3;//拆箱
        int b2 = val3.intValue();//显示拆箱
        double b3 = val3.doubleValue();//显示拆箱


    }
}
